package com.jwsoft.manager.common.vo.eduAddressCategory;

import com.bifang.assistant.common.vo.BaseVO;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 地址和学段关联记录表VO
 *
 * @author fangs
 * @since 2023-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "EduAddressCategoryVO", title = "地址和学段关联记录表VO", description = "地址和学段关联记录表实体类")
public class EduAddressCategoryVO extends BaseVO {

    private Long id;

    @Schema(name = "addressId", title = "edu_address主键")
    private String addressId;

    @Schema(name = "treeId", title = "edu_address_tree主键")
    private Long treeId;

    @Schema(name = "addressName", title = "地址")
    private String addressName;

    @Schema(name = "schoolCategory", title = "学校类别")
    private String schoolCategory;

    @Schema(name = "matchingStatus", title = "是否匹配学区 0 未匹配 1已匹配成功")
    private String matchingStatus;

    @Schema(name = "matchingTime", title = "自动匹配学区时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date matchingTime;

    @Schema(name = "matchingMessage", title = "匹配学区处理结果信息")
    private String matchingMessage;

    @Schema(name = "schoolNum", title = "匹配到的学校数")
    private Integer schoolNum;

    private Long delUk;
}
